package sv.gob.mh.dgii.model;


/**
 * <b>Created by </b>mirday
 * <b>for</b>jsiit-model
 * <b>on</b> Abr 5, 2009 13:05:22 AM
 * <b>Purpose</b> 
 * <p>
 * </p>
 */

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.SequenceGenerator;

@Entity
@Table(name = "IA_INFORME", schema = "SIIT", uniqueConstraints = {})

@SequenceGenerator(name="SEQ_IA_INFORME", sequenceName="SEQ_IA_INFORME")
public class IaInforme implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Long cinforme;
	private String nittecnico;
	private String nitjefe;
	private Date finicial;
	private String hinicial;
	private Date ffinal;
	private String hfinal;
	private String ctipoact;
	private String dtipoact;
	private String dnotas;
	private Date fhingreso;
	private String cusuario;

	public IaInforme() {
	}

	public IaInforme(Long cinforme, String nittecnico, IaInforme iaInforme, String nitjefe,
			Date finicial, String hinicial, Date ffinal, String hfinal, String ctipoact,
			String dtipoact, String dnotas, Date fhingreso, String cusuario ) {
		this.cinforme = cinforme;
		this.nittecnico = nittecnico;
		this.nitjefe = nitjefe;
		this.finicial = finicial;
		this.hinicial = hinicial;
		this.ffinal = ffinal;
		this.hfinal = hfinal;
		this.ctipoact = ctipoact;
		this.dtipoact = dtipoact;
		this.dnotas = dnotas;
		this.fhingreso = fhingreso;
		this.cusuario = cusuario;
	}
	
	@Id
	@Column(name = "C_INFORME", unique = true, nullable = false, insertable = true, updatable = true, precision = 4, scale = 0)
	@GeneratedValue(strategy=GenerationType.AUTO, generator="SEQ_IA_INFORME")
	public Long getCinforme() {
		return this.cinforme;
	}
	public void setCinforme(Long cinforme) {
		this.cinforme = cinforme;
	}	
		
	@Column(name = "NIT_TECNICO", length = 15)
	public String getNittecnico() {
		return nittecnico;
	}

	public void setNittecnico(String nittecnico) {
		this.nittecnico = nittecnico;
	}	
	
	
	@Column(name = "NIT_JEFE", length = 14)
	public String getNitjefe() {
		return this.nitjefe;
	}

	public void setNitjefe(String nitjefe) {
		this.nitjefe = nitjefe;
	}
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "F_INICIAL", length = 7)
	public Date getFinicial() {
		return this.finicial;
	}

	public void setFinicial(Date finicial) {
		this.finicial = finicial;
	}
	
	@Column(name = "H_INICIAL", length = 5)
	public String getHinicial() {
		return this.hinicial;
	}
	public void setHinicial(String hinicial) {
		this.hinicial = hinicial;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "F_FINAL", length = 7)
	public Date getFfinal() {
		return this.ffinal;
	}
	public void setFfinal(Date ffinal) {
		this.ffinal = ffinal;
	}

	@Column(name = "H_FINAL", length = 5)
	public String getHfinal() {
		return this.hfinal;
	}
	public void setHfinal(String hfinal) {
		this.hfinal = hfinal;
	}
	
	@Column(name = "C_TIPO_ACT", length = 2)
	public String getCtipoact() {
		return this.ctipoact;
	}
	public void setCtipoact(String ctipoact) {
		this.ctipoact = ctipoact;
	}

	@Column(name = "D_TIPO_ACT", length = 300)
	public String getDtipoact() {
		return this.dtipoact;
	}
	public void setDtipoact(String dtipoact) {
		this.dtipoact = dtipoact;
	}

	@Column(name = "D_NOTAS", length = 300)
	public String getDnotas() {
		return this.dnotas;
	}
	public void setDnotas(String dnotas) {
		this.dnotas = dnotas;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "FH_INGRESO", length = 7)
	public Date getFhingreso() {
		return this.fhingreso;
	}
	public void setFhingreso(Date fhingreso) {	
		this.fhingreso = fhingreso;
	}
	
	@Column(name = "C_USUARIO", length = 30)
	public String getCusuario() {
		return this.cusuario;
	}
	public void setCusuario(String cusuario) {
		this.cusuario = cusuario;
	}
	
}
